This chapter describes shader objects (or shaders) and the functions you can use to manipulate them. You use shaders to provide shading and other effects to the objects in a model. For example, you can use a texture shader to apply a texture to the surface of an object in a model.
To use this chapter, you should already be familiar with views and lights, described in the chapters "View Objects" and "Light Objects" earlier in this book.
This chapter begins by describing shader objects and their features. Then it shows how to create and manipulate shaders. The section "Shader Objects Reference" provides a complete description of shader objects and the routines you can use to create and manipulate them.
QD3D Book | Chapter Contents | Next |